<div class="left">
  <div class="ltit"><?php echo get_kind_column($pid)?></div>
  <div class="nav">
    <dl>
      <?php 
		$kind = get_kind_list($pid);//获取二级栏目数组
		foreach($kind as $k=>$r){//开始遍历二级栏目
		$kind_kind = get_kind_list($r->id);//获取三级栏目数组 ?>
      <dt><a href="<?php echo ($r->internal==1 ? $r->fronturl.'?'.$pid.'/'.$r->id : $r->fronturl)?>" target="<?php echo $r->targets?>" <?php echo ($r->id == $cid ? 'class="on"' : '') //获取栏目焦点?>><?php echo $r->title?></a></dt>
      <?php if(!empty($kind_kind) && $cid==$r->id){ //判断是否有三级栏目，有，则执行以下语句?>
      <dd>
        <ul>
          <?php foreach($kind_kind as $kk=>$rr){//开始遍历三级栏目 
		  	  $kind_kind_kind = get_kind_list($rr->id);//获取四级栏目数组
		  ?>
          <li><a href="<?php echo ($rr->internal==1 ? $rr->fronturl.'?'.$pid.'/'.$cid.'/'.$rr->id : $rr->fronturl)?>" <?php echo ($rr->id == $zid ? 'class="now"' : '') //获取栏目焦点?> target="<?php echo $rr->targets?>"><?php echo $rr->title?></a>
            	<div class="sm1">
            	<?php if(!empty($kind_kind_kind) && $zid==$rr->id){ //判断是否有四级栏目，有，则执行以下语句 ?>
            		<?php foreach($kind_kind_kind as $kkk=>$rrr){//开始遍历四级栏目?>
            			<a href="<?php echo ($rrr->internal==1 ? $rrr->fronturl.'?'.$pid.'/'.$cid.'/'.$zid.'/'.$rrr->id : $rrr->fronturl)?>" <?php echo ($rrr->id == $sid ? 'class="cur"' : '') //获取栏目焦点?>>> <?php echo $rrr->title?></a>
            		<?php } ?>
           		<?php } ?>
            	</div>
          </li>
          <?php }?>
        </ul>
      </dd>
      <?php }?>
      <?php 
		unset($kind);}
	  ?>
    </dl>
  </div>
  <div class="about_pic">
    <ul>
    <?php if(!empty($side_left)){?>
        <?php foreach ($side_left as $k=>$r){?>
      <li><img src="<?php echo $r->photo?>" width="178" height="107" /><span><?php echo $r->content?></span></li>
      <?php }?>
       <?php }else{?>
       <li></li>
      <?php }?>
    </ul>
  </div>
  <div class="about_pic1">
    <ul>
      <?php if(!empty($side_lefts)){?>
        <?php foreach ($side_lefts as $k=>$r){?>
      <li><img src="<?php echo $r->photo?>" width="178" height="107" /><span><?php echo $r->content?></span></li>
      <?php }?>
       <?php }else{?>
       <li></li>
      <?php }?>
    </ul>
  </div>
</div>
